macos: fix discover of surface under cursor
authorChristian Hergert <chergert@redhat.com>
Wed, 14 Oct 2020 23:59:38 +0000 (16:59 -0700)
committerChristian Hergert <chergert@redhat.com>
Wed, 14 Oct 2020 23:59:38 +0000 (16:59 -0700)
commit6e84c7c59e9e46b418e429bfd9a9cc9450e32f56
tree7f514e28f75b6ad7d30015d91cbacbaa03dae27a
parent0af3d215738632c2448bd225a8888787df7c568c
macos: fix discover of surface under cursor

This was incorrectly reporting the toplevel surface instead of the
popup surface that was placed above it. This fixes event delivery
to popups for selecting menu items and more.
gdk/macos/gdkmacosdisplay-translate.c